-- GENERATED SPELL FOR [Mosh'Ogg Lord] --


function spell0_680(pUnit, Event) --@Battle Shout,Self--
pUnit:FullCastSpellOnTarget(9128,pUnit)
pUnit:RegisterEvent('Sorts_680', 657, 1)
end

function spell1_680(pUnit, Event) --@Intimidation,n/a--
pUnit:FullCastSpellOnTarget(7093,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_680', 3000, 1)
end

function Sorts_680(pUnit, Event)
local choix_sorts_680 = math.random(0, 1)
if choix_sorts_680 == 0 then
pUnit:RegisterEvent('spell0_680', 1, 1)
end
if choix_sorts_680 == 1 then
pUnit:RegisterEvent('spell1_680', 1, 1)
end
end

function mob680_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_680', math.random(1500, 3000), 1)
end

function mob680_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob680_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob680_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(680, 1, 'mob680_Action')
RegisterUnitEvent(680, 2, 'mob680_Leave')
RegisterUnitEvent(680, 3, 'mob680_Kill')
RegisterUnitEvent(680, 4, 'mob680_Die')
